﻿
namespace n_CopyRightForm
{
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using n_OS;

/// <summary>
/// Description of WorkForm.
/// </summary>
public partial class CopyRightForm : Form
{
	//主窗口
	public CopyRightForm()
	{
		//
		// The InitializeComponent() call is required for Windows Forms designer support.
		//
		InitializeComponent();
		
		//初始化
		this.richTextBox_vos主线版本.Text = VIO.OpenTextFile( OS.SystemRoot + "vos" + OS.PATH_S + "0版本历史" + OS.PATH_S + "vos主线版本.txt" );
		this.richTextBox_GD32VF103C8T6.Text = VIO.OpenTextFile( OS.SystemRoot + "vos" + OS.PATH_S + "0版本历史" + OS.PATH_S + "GD32VF103C8T6.txt" );
		this.richTextBox_GD32VF103CBT6.Text = VIO.OpenTextFile( OS.SystemRoot + "vos" + OS.PATH_S + "0版本历史" + OS.PATH_S + "GD32VF103CBT6.txt" );
		this.richTextBox_GD32E103CBT6.Text = VIO.OpenTextFile( OS.SystemRoot + "vos" + OS.PATH_S + "0版本历史" + OS.PATH_S + "GD32E103CBT6.txt" );
		this.richTextBox_GD32E230C8T6.Text = VIO.OpenTextFile( OS.SystemRoot + "vos" + OS.PATH_S + "0版本历史" + OS.PATH_S + "GD32E230C8T6.txt" );
		this.richTextBox_GD32E231C8T6.Text = VIO.OpenTextFile( OS.SystemRoot + "vos" + OS.PATH_S + "0版本历史" + OS.PATH_S + "GD32E231C8T6.txt" );
		this.richTextBox_hi3861.Text = VIO.OpenTextFile( OS.SystemRoot + "vos" + OS.PATH_S + "0版本历史" + OS.PATH_S + "OpenHarmony-hi3861.txt" );
	}
	
	public void Run()
	{
		this.Visible = true;
	}
	
	void CopyRightFormFormClosing(object sender, FormClosingEventArgs e)
	{
		this.Visible = false;
		e.Cancel = true;
	}
}
}



